package form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

public class MemberForm extends ActionForm {
	
	private String id;
	private String password;
	private String name;
	private String email;
	private String storeName;
	private String lastUpdateDate;
	private String info;
	private String delFlag;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getStoreName() {
		return storeName;
	}
	public void setStoreName(String storeName) {
		this.storeName = storeName;
	}
	public String getLastUpdateDate() {
		return lastUpdateDate;
	}
	public void setLastUpdateDate(String lastUpdateDate) {
		this.lastUpdateDate = lastUpdateDate;
	}
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	public String getDelFlag() {
		return delFlag;
	}
	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}
	@Override
	public String toString() {
		return "MemberForm [delFlag=" + delFlag + ", email=" + email + ", id="
				+ id + ", info=" + info + ", lastUpdateDate=" + lastUpdateDate
				+ ", name=" + name + ", password=" + password + ", storeName="
				+ storeName + "]";
	}
	@Override
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		
		id=null;
		password=null;
		name=null;
		email=null;
		storeName=null;
		lastUpdateDate=null;
		info=null;
		delFlag="0";
		super.reset(mapping, request);
	}	
}
